package com.zpz.framework.zpzoauth.dao;

import com.zpz.framework.zpzoauth.pojo.po.FrameUserPassword;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.Map;

/**
 * @author zhangpanzhi
 * @time 2019-07-09
 * @description 未经本人允许请勿随便改动，尊重劳动
 * */
public interface ZpzOauthFrameUserPasswordMapper extends BaseMapper<FrameUserPassword> {
    Integer updateUserLoginDate(FrameUserPassword frameUserPassword);
    Integer updateMemberPwd(FrameUserPassword frameUserPassword);
    FrameUserPassword getUserPwd(@Param("phoneNumber") String phoneNumber, @Param("clientId") String clientId);
    FrameUserPassword checkIfFirstLogin(@Param("phoneNumber") String phoneNumber,@Param("clientId") String clientId);
    /**
     * 根据IdList  修改账号解锁状态
     * @param param
     * @return
     * @author: zhangpanzhi
     * @date 2018/5/28 14:50
     * @throws Exception
     */
    int updateForgetPwdLockByIdList(Map<String, Object> param)throws  Exception;
    Integer updateUserPwd(FrameUserPassword frameUserPassword);
}
